package com.xoa.dev.flowStatistics.dao;

import com.xoa.dev.flowStatistics.model.Statistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StatisticsMapper {
    List<Map<Object,Object>> selectRunIdsByFlowId(@Param(value = "list") List<Integer> list, @Param(value = "list2") List<Integer> list2);

    List<Statistics> selectFlowData(@Param(value = "sql") String sql, @Param(value = "tableName") String tabelName, @Param(value = "array") Integer[] array);

    List<Integer> selectRunIds(Map map);

    Integer selectCountRunIds(@Param(value = "list") List list);

    List<Map<Object, Object>> selectRunIdsByFlowIds(List<Integer> list);
}
